package com.example.three.Service.SysUserService;

import com.example.three.DO.SysUser;

import java.util.ArrayList;

public interface UserService {

    SysUser findBy(String userid);

    ArrayList<SysUser> findAll();

    int addBy(String userid,long poseid,String username,String password,String usertype,String email,
              String phonenumber,String sex,String status);

    SysUser login(String userid, String password);

    int updatepassword(String shopid,String password);

    void updateinformation(String shopid,String username,String phonenumber,String email,String sex);

}
